import { LOADING_STATUS } from '@/enum/loadingStatus';
import { IDevice } from '../device-item/types';

// interface ITab {
// 	label : string,
// 	value : number | undefined,
// 	loading_status : LOADING_STATUS,
// 	pageNum : number,
// 	pageSize : number,
// 	list : IDevice[],
// }

interface IDeviceList {
	list : IDevice[];
	loading_status : LOADING_STATUS,
	pageNum : number,
	pageSize : number,
}

interface IGetDeviceListResult {
	data : IDevice[];
	total : number;
}

interface IDeviceListExpose {
	refreshList : () => void;
}


export {
	IDeviceList,
	IDevice,
	IGetDeviceListResult,
	IDeviceListExpose
}